package com.aerotechnic.util;

import org.codehaus.jackson.annotate.JsonProperty;

import com.aerotechnic.entities.User;

public class JsonJTableUserResponse {
	
	private String Result;
	 
    private User Records;
 
    private String Message;
    
    // constructors 
    public JsonJTableUserResponse(){
    	
    }

	public JsonJTableUserResponse(String result) {
		super();
		Result = result;
	}

	public JsonJTableUserResponse(String result, User records) {
		super();
		Result = result;
		Records = records;
	}

	public JsonJTableUserResponse(String result, String message) {
		super();
		Result = result;
		Message = message;
	}

	@JsonProperty("Result")
	public String getResult() {
		return Result;
	}

	public void setResult(String result) {
		Result = result;
	}

	@JsonProperty("Record")
	public User getRecords() {
		return Records;
	}

	public void setRecords(User records) {
		Records = records;
	}

	@JsonProperty("Message")
	public String getMessage() {
		return Message;
	}

	public void setMessage(String message) {
		Message = message;
	}
    
}
